var express = require('express');
var app = express();


app.get('/', function (req, res) {
    var callbackName = req.query.callback;   // myFunction
    res.send(callbackName+"({'message': 'hello world from JSONP!🙃'});");
    // myFunction({'message': 'hello world from JSONP!'})
})

app.listen(3001, function () {
    console.log("jsonp_responser server listening on port 3001");
});
